﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Xml.Linq;
using System.Data.SqlClient;
using mobliebo;

namespace mobileshopping
{
    public partial class WebForm1 : System.Web.UI.Page
    {
        Adminlogin1 ad = new Adminlogin1();
        protected void Page_Load(object sender, EventArgs e)
        {

            DataTable dt = ad.GetRecords(-99, "", "", " and ");
            
        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            ad.id = -99;
           ad.emailid = txtemailid.Text;
            ad.password = txtpassword.Text;
            ad.SaveRecords();
            Response.Redirect("~CompanyView.aspx");
            Response.Redirect("~Smartphone View.aspx");
        }
    }
}
